package br.usp.icmc.biomac.shared;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

@SuppressWarnings("serial")
public class CSVData  implements Serializable {

	private String StudyUID;
	private String PatientName;
	private String PatientID;
	private String ExamType;
	private Date DateAcquired;
	private List<CSVSerie> series = new ArrayList<CSVSerie>();
	
	public CSVData(){
	}
	
	public CSVData(String patientName) {
		super();
		PatientName = patientName;
	}

	public CSVData(String studyUID, String patientName, String patientID,
			String examType, Date dateAcquired) {
		StudyUID = studyUID;
		PatientName = patientName;
		PatientID = patientID;
		ExamType = examType;
		DateAcquired = dateAcquired;
	}
	
	public void setStudyUID(String studyUID) {
		StudyUID = studyUID;
	}

	public String getStudyUID() {
		return StudyUID;
	}

	public void setPatientName(String patientName) {
		PatientName = patientName;
	}

	public String getPatientName() {
		return PatientName;
	}

	public void setPatientID(String patientID) {
		PatientID = patientID;
	}

	public String getPatientID() {
		return PatientID;
	}

	public void setExamType(String examType) {
		ExamType = examType;
	}

	public String getExamType() {
		return ExamType;
	}

	public void setDateAcquired(Date dateAcquired) {
		DateAcquired = dateAcquired;
	}

	public Date getDateAcquired() {
		return DateAcquired;
	}

	public List<CSVSerie> getSeries() {
		return series;
	}
	
	public CSVSerie addCSVSerie(CSVSerie csvserier){
		series.add(csvserier);
		return csvserier;
	}
	
	public void setCSVSerie(ArrayList<CSVSerie> csvserier){
		series = csvserier;
	}

}
